/**custom**/

@model-prefix-cls: ~"@{css-prefix}model";

.@{model-prefix-cls} {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: @zindex-modal;
  display: flex;
  align-items:center;
  &-bg {
    background: rgba(0, 0, 0, .5);
  }
  .wrap {
    margin: 0 auto;
    position: relative;
    z-index: @zindex-content;
    background: @component-background;
    padding: 20px;
    border-radius: @border-radius-base;
    .header {
      font-weight: 600;
      margin-bottom: 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .close {
        color: @unimportance-color;
        float: right;
        font-size: 20px;
        cursor: pointer;
      }
    }
    .footer {
      font-size: 0;
      margin-top: 40px;
      text-align: center;
    }
  }
  &-middle {
    .wrap .header {
      margin-bottom: 30px;
      .close {
        font-size: 16px;
      }
    }
    .wrap .footer {
      margin-top: 30px;
    }
  }
  &-small {
    .wrap .header {
      margin-bottom: 30px;
      .close {
        font-size: 16px;
      }
    }
    .wrap .footer {
      margin-top: 30px;
    }
  }
}
